﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Framework.Plugin
{
    public interface ICMSHost : ICMSServiceProvider
    {
        IEnumerable<ICMSPlugin> Plugins
        {
            get;
        }

        CMSEventsAggregator EventsAggregator
        {
            get;
        }

        void RegisterPluginService<T>(T pluginService)
            where T : ICMSService;

        void Initialize(); 
    }
}
